fixed eclipse warnings by escaping code while in edit mode