Fixed another readonly bug