some changes, env was not behaving accordingly