Fix addByPlatform