Fixed byte operation problems.