fixed so it works without an ENV variable