remove readonly check