fix ToSimple to PlainSqlCommand