Function to remove aliases