Remove dangerous codes.