resolving issue in deposit