avoid crash with ubuntu 14