fix some statup issues.