Add link to header, fix bug