quick fix to nonexistant reference to error_log and minor improvement to
resolution code