fixed looping
alias resolution