fixing link detection

fixes #80 
@jancborchardt 
Wrong copyright? ;)