fixed name check for all caps
allowing dangling underscore, fixes #1