bugfix for double headlink