clear all relevant messages in the view