Fixed bug with interface