trim down the popup