added more debugging for memread_manual