fixed bug that displays errors if deposits empty