fix for issue #1819 tableview infinate loop