make observer works under mad repl