remove hanging comma