adjust attributes for freebsd