fixed bug in vbencode