fixed bug where xff was missing
fixed useless use of '/bin/rm'