fixes small bug that was causing the stacktrace to not be propagated correctly in one of the decorators