fix patch message always shown