the same logic is missing on newfolder - right?