fixing paper class