remove an invalid null UUID check which caused a warning