corrected overflow errors in details dialog