third table lection hours validation (with bug)