* adjust the code of view.
 * log error by framework.