Fixxing value error in get tags