fixed CheckUAC logic