fixed READONLY access problems