Fix refresh bug.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>