change distance restriction