fixed for gather result