removes category with space in it