fix bug storing directory folder
add view thanks to Swing UI jetbrains jgoodies