Fix "Undefined variable" notice.