work on debian jessie compatibility