doesnt work closing