try to fix patterson and model refreshing issue