fixed working on modern fenics