better error logging to track down this one damn error