Fixed save dir bug