Fixed the betdetailview crash.