exclude null from statements parser