cleans up help directives