found a workaround with isNaN?