fix to app variable