clean up help message code