Fixed boolean type

"new Boolean" returns object instead of boolean