ignore extra spaces in key