fixed bsd portability issue