fixed error with with-composite-indexes