Fix preview method.