Fix bug in Potcar from file.