resolved bug in observe