fix broken span