fixed temporary bug with freebsd