fix chaining pattern when calling appends

Signed-off-by: hsestupin <stupin.sergey@gmail.com>