fixing some interface bugs