Minor bug with dir storage.