remove asserts about types (python 2 giving weird results for type())