close previous marker