fixed bug in filetype detection