fixe bug in debian based distribution