fixes compile bug for not being able to find std::logic_error