fix invalid syntax at list