remove some quotes and return false if invalid word