Fix namespace bug when open date picker