fixed orientation crash