add_gridView_logic, fix_db_logic