fix package resource syntax to add missing end