refresh-related cleanup