add proper defaults to app object