Fixed a bug in Read that used to appear when you tried to use periodic variables