was improved casting values