fixing trait to platform