Fixed VOI assertion on linux