correcting bug when no platform are specified