remove redundant constant