added remove_spaces