error on refreshing the dashboard