Bugfix with ntohs.