fix minor interface bugs