finally remove empty prints in call_cmd