remove unlucky trailing comma