Fixing error on Float when aws expecting int