check data consistency
remove obsolete code (no use render button in the table)