fix persistence of adding marker and deleting