sort out aliases