How to turn off code mode