modified markermanager to get getmarker working