fixed bug in interface loader