fix for type in add markers