Fixing weird issues in Debian 6