praveen|guard conditions to fiX wrong values stored in the marker