fix few interface bugs