[batch] added return statement
[relationship] changed parameter sent to decode method