fixing statement list