Cleaning up markings