fixed serial code