switch out error handling on get