Some changes for fixed the Bug with deleting loans status