remove editing code