more stripping and half link code to preview