Minor fix to allow -f to work