remove platform logic