throw error on unrecognized str