fixing lintian warnings and errors