fix postions at setCodeValue