respect diabled flag

--HG--
branch : 0.9
respect readonly too

--HG--
branch : 0.9