0.5.1

fixed warning if environment isn't set