more advances in restrictions

apvs get disabled depending on whether the restrcition attribute is
being used