fixup: fix unsafe cast to observer, which raise the error 'The value of
ESP was not properly saved across a function call'