To make it work on ubuntu