fixed small bug in debug message filter