remove unnecessary span