check for clock calibration values possibly erased before using them
clean up and setting optimization compiler flags by default