fixed up build order...doh