Corrected wrong directory creation action