fix filetype detection bug