date picker error debug