prevent default on wrong scope