Removing warning message "constant already defined"