Remove debug code
Fix path_array problem