fixed order of require statements