link bug fixes in header file updated