another fix attempt for defaultTo parameters