fixed blank messages problem