fixing type checking -> isinstance