bugfix observer class