cleanup the debug links