fixed a bug of screen not updating!