opened messages almost working