cleanup outdated code

It was causing compilation problems.