fix newly implemented `merge!` method so that, you know, it acutally works