Correct program error