tryin to put a switch on msg filter