returning back to index bug resolved