attempt at fixing orientation lock