added error boarder to invalid text