fix all apps env to make it shell save