fix rencent bug