fixing env appends