rewrite fcg-remove