Fixed bug in directory save view