main aligning, link fix