Minor fixes
IP restriction