Bug fix: remove extra read()