rewrite collate.html
bug fix
replace double space to single space in reg
testing