Try to fix some display bugs, and add a err log for later fixing

Signed-off-by: Kevin Liu <airk908@gmail.com>