fixed parameter bug for 'off'
all unit tests completed