Fixing last pages