fixed typo 

(had intanceof instad of instanceof in there...)