weird bug - gotta delete link to dir first