add note ids and fix hz bug