quick fix on the output message when option wait is use