fix issue in ubuntu