remove dangling print