remove the legacy code that is not used