correction bug 1n enum readonly