err, not catching links properly, adding more log output