static links, bug fixes