fixing production settings
fixing 404 500 pages