Fixed minor front index bug