found other bugs while testing