fixed markers with onPause/Resume