properly remove hyphen from start and end of alias
Merge pull request #69 from ray176/fixIssue

properly remove hyphen from start and end of alias