indraneel | fixing 'cannot cast "" to double' bug