removing unused head endpoint