resolved border issue with HTML previewer