removed duplicate close