making changes to allow web arena to work well with both old engine and new engine