added function to replace spaces in aliases