improve popup load time