fix analyze