small $.remove bugfix