check balance when save