fix bug - when convert 'false' as a boolean would return true