removed types that incompatible with python 3