fixed last message on select