removed instanceOf bug introduced by last change