file_ext in ext bug fix