List syntax check

correct errors in a list