remove hanging comma from pkg