check the lines structure for pull