fix app_index to fully support the dashboard