fix for openbsd