What was throwing this error? This seems overkill to me in this context.