fix not rotate issue