fixing "bugs/errors" presented by openBSD