fixes for appframework v2

changes resulting from appframework v2