fixes to staff model and view for showing the table