fix remove for internal