fixing bug in uuid string validation