setconfig to correct yaml