Clean up text input code to magically fix error-throwing code