some style cleanups for latest dapp.