Fixed program checking.