clean up previous error/empty states when when (re)loading