fixes in_production settings var