Fix spaces in hashes