fix bug in chrome display