tighten up error handling on admin statements page