Fixed memory leak
firewall added