since you are already out of the country, there is nothing you can do about that. you cannot even ask your friend to get the deposit because you are the one who made a deal with the landlord and not your friend...