fixes for debian