couple of minor fixes for calc level builder