Fixed an input trimming issue and the issue with the right content.