main link fix