fixed isType for tile