fixed link issue on generate page