bug fix with ubuntu version