clear up some compile problems