Revert "delete $gen instead of echo an empty line in it at start"

This reverts commit 39ad305e53a7f2af522fdf2e4c6fcedf7525815b.