fix for non-concrete application classes
one more fix for application callbacks