improve datetime pickers behavior