Delete images under root directory incorrectly.