fix did select row bug