Removed unnecessary check for appframework