fixed some debug msgs