Remove unnecessary stuff in aliases