bugfix for markers