fix index and remove pending spec