fix the orientation of puzzle