fixin errors from insigth