[hacks] made client check extensions a bit more robust