makes end-of-options work, removes garbage line