fixed bug when dynamaic type was still using the defualt filetypes