adjust build order