rebuilding after pull