remove unwanted warnings