Fix overwriting byte in COM-module