removed some code left over from an old version