fixed greeting type issue