fixed bugs for can't handle row select of the domain model