Fixed various problems in the BASE interface