Fix Bug in Ubuntu