fixes some pragmas