fixed APPLICATION_ENV