metadata parsing fix