remove invalid quote