Fixed Bug when directories does not exist on the link