trim before create alias
api change