fixed byte ordering problem btwn user and kernel space