fix for ubuntu systems