fixes random tree generation