some openbsd fixes