fixed undefined input rangepicker error