Fix of rotation sample