fix apps to use dotGlobal function

31 jobs for mohr/issue72 in 37 minutes and 33 seconds (queued for 12 seconds)