Fix #662 preview action problem