fixed two error.