fixed a bug when interpreting empty sequences