uid fix and -f flag