must fix protectedObservables to work with arrays