fixed bug where marker was not set to map