fixed some interface bugs
fixed some interface bugs