Corrected kde1d and for pyflake