fixed dll import functions