Some ubuntu errors corrected