fixed empty post submission caused error for Filter