Observer: Bugfix in observer script