optimize load order