fix to the fixes.

* getHours is a function
* check rawdata using !== comparison (since we know is type)