fixes to run at ubuntu