typeof woes