remove portable & bundle mode