remove space which might cause problem