improved the scan of the usage message