fix restrict