fixing import erros for python 2.6