Remove some debug code and add message

Signed-off-by: tianyuli <tli@wpi.edu>