remove deprecated code
remove replaces, has no purpose