proper disable/readonly handling