fix for Linux agent