The problem still persist with this, I made another post with the problem more obvious and less code in the middle.