fixed problem with self links and permalink translation of parenthesis
fixed an error with folder creation