strange bug with spaces