added direnv, fix edit page