updated debug buffer error