brick delete - check if id is number