preview size fix