fixed analyze crash