add auto restriction