remove pkg extra comma