fixed getProgramCredits function