make enum symbols not writable. bug fix