fixed name with spaces encoding problem