fix a bug-- can not be render