syntax cleaning