fix readme, correct some debug messages