fixing context list concatenation