removing redundant mkdir