fix some compile problems with the skeletton