fixed views embed error by using ->preview()