removed error when environment variables are missing