Fixed environment error