cast true with (bool)

because true maybe not a true. 
![not-true](https://cloud.githubusercontent.com/assets/459648/4751181/df83c6f0-5a9a-11e4-8f4c-9b605c8d9c42.gif)