fix fedora support