static link fix