minor changes to accommodate ubuntu