fixes text that was too wide, date selector now detects platform