Little fix to "virtual void Work()"

-> Fixed a problem which causes to "virtual void Work()"function doesnt
work when inherited.