Event problems repaired

Event problems repaired in modify_log.js