added twitter-edit handling