fixed bg on freebsd