fix rk plot