fixed alias loop bug