fixed issue with removing markers/vertices