fixing links and defaults