modify literal parser to remove duplicated quotes