fix the behavior of barfing command