removed unecessary text from collapsedInput