Fixed program exercises bug