fix refresh project problem