Fixed bug in interface