fix htonl bug