improve marker placement