Fix 'create_directory'