Bug Fix: Wrong variable in workTimer function