bug in hiding/showing rows