[Refactoring] Use AS dasherize instead of gsub

Done