Fix bug importing programs