corrected custom marker logic