clear marker logic was backwards - fixed