delete unnecessary msg