Fixed bug in subnet option