correct values and orientation lock