layout fix + avoid reloading if already loaded