remove syntax warnings