minor code cleanup, header link fix