decorator fix (class name of func)