fix specifying APPLICATION_ENV var