made module compatible with Ubuntu