Crash on checking and rotate