remove last reference from appframework, fix routing issue