fixed type for text fields - thanks @mathetos