modify gui message handle