Attempted to improve note detection