fixed malicious bugs