fix prod mode