set value as bam_root_readonly is not static