removing cast warning
Merge pull request #64 from fotonauts/cast-warning

removing cast warning
Merge branch 'mongodb_master'