add 500 error handling that may or may not work when it counts