fix row and span classes