Bug fix in Main; Credit change