attempt to solve evil bug whih loses edits