fixes autocapitalization and search issue