frustrating error setting key in chrome