having a decode when properly encoded seems to work