corrected API
house keeping
if error make tableview and others disappear
house keeping