fixed app for DEBUG=False