don't show same message twice
refactored live editing into separate file