finish fix of orientation locking