removed undefined and !==