VLC reference error fix