removed left over code

These lines aren't needed any more. Missed them in my previous and already merged PR.