BalajiN | Fixing conversion of datatypes