fixed bug (wrong operator for left and down)