bug fix for done. catch exception for any method using parseInt().