cleaned up my bad regex based linking