fix peek permissions.