fixed bug in interface