text changes and fixing input