set up a dummy pipeline in decode, fixed compile errors