fixing ubuntu incompatibilities