fix index on real freebsd