fix DTL for apps