assign in correct env