fixing as to run on ubuntu