fixed error on ubuntu