fix index view error