remove unwanted constants