fixed the file path issue for the variational example