fix memory leak; add default pic to repo