adding OTRUNC to open - still buggy