fixed multiple things, added error logs for when builk indexing fails