Marker type check fix