fix some before assign problem