fixed index hopefully