board API functional, fix obvious bugs