Fix interface implementation bug