Fixed error of that caused problems with index.