FIX : for empty tag

for Andrew Dykstra

don't know why this happens but matlab does not complain so I guess Python shouldn't