fixed a bug with SummerPlan beforeSave, and added MapMarker beforeSave