fix for NMIS selected row