small bug fix in nest