fixed -f option in case of non existing