fixed infinite refresh bug

Change-Id: I89018351ccfd28dcdccbe48bbb8198afadadc4b3