change htonl to htons