Fix addByPlatform

Edit Switch fnc