fix a bug that prevent to enter `:paste` mode