minor change to sprite reader