Bug fix

notestack was deleted unintentionly