Forestry legislation is flawed