fix alias bugs