corrected counts of arguments
Corrected pasteline_v3_storage_riak behaviour

add Pids arguments to functions