fixed const in decode