fix program error