implemented remove_trailing function
integrated Live_Conversations_Controller