fixing bug if crop x is 0