Fixes Openoffice errors