Fixed environment vairable error