Fix instanceof