fixed status message and empty table bug