fix up some declspecs