fixed the aliases print functionality