fix pyenv path and init ordering