fix `rename` adapter