fix get message tamplate