removed consts from gap_buffer add funcs