fix list parsing (yeah, thats some serious bug)