fixes images getting deleted on closed articles
little fixes in observer