Fixed a bug that returned crash directory path instead of name