fix bug not to filter file