fix clear markers issue