change from compare view to readonly view