improve alias functionality