fix index? and spec