Fix the enviroment - production error regarding security code