Fixed run-as-admin bug, close #1