fix solving problem if a analyze doesnt work