Fixed wrong closure