minor cleanup in global filters