fixed inversion bug in construction code- can't remember why this was here in the first place, may get reverted