Fixed issue with process.argv cleanup