Remove maxstatements