Fix bug save editing and marker editing