Fixes Line reader bug