tiny bug fix on the preview width