bug fix after moving photo folder