fix crash on ios 6 on procedures, surgical logs etc.
merge