optimize some syntax