fix broken load order