Fix #521 getbufvar() errors
Add marker