check for zero on save