[bsd] fix