fix index cal in op13