fixed app and environment