fixed bug for markers