close mode - fix