Change for preview to work