made async index from backend working