no env variable crashing issue fix