fixed handling of invalid-target notices before the 001 message