moved marks/clear marks to code_objects. fixed clock start error