small fix

this !== undefined is need for Strict Mode