make Id fields readonly