bug fixes, started moving to new lev interface