change  validation type from int to string