fix protected rewviews