fix some interface with other classes.