Fix minor bug, remove some debug log info