Resolve require order