forgot to set app as class variable