get rid of deprecation notice
don't reassign constants (to avoid annoying warning message when running tests)