minor fixes when testing.