fixes load order bug