little fix, forgot the 'typeof' part ;)