refactoring of unknown messages