fixed vector-append issue #21
fixed issue #24
fixed #20 and #22