fixed alias not reset.
Merge pull request #2 from antonzy/patch-2

fixed alias not reset.