fixed note undefined