refresh issue when closing proejct