Fix bug of link and add space in deleted file names