fix of already defined constant notice, issue #653