fix metadata bug
fix bug of wrong code chunk size in decode.cu