fixed reading vega format