corect data input for filter