Fixed argument not valid exceptions

Change-Id: I12dadd7b7eb4480f9830e306874fe85c58ff7cc9
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>