GH-30 adding package lenght check