fix API for readNote