Fixed cast exception.
Merge remote-tracking branch 'origin/master'