some minor changes to popup things