fix bug caused by white-space:nowrap