fixed bug with readonly identifier fields