added errors on saving