parse lists before code