correct algo for camel case to underscores