The treasurer and secretary of each urban district shall receive as full compensation for their services salaries fixed by the board before their election; but no compensation shall be paid to either the secretary or treasurer while they are in default in the making, filing or publishing of their reports and settlements, as the law directs.