filter out blacklisted keys