fixed gentop

Change-Id: I0c224d68394864c105e4ef1737968a827284b7b9