Fix crash in reloadData