solve the Auto-Rotate problem Archive