validation for tracksms.