Minor fix to undefined variable
Date pickter works now