cleanup and wrapped finput as a string to make the class more stable