fix an issue that cannot read property shortened.