fixes for generic interfaces