add default blank value of end parameter, and also remove extra filter on data output