fix bug with add markers