Solved some errors related to consider_health parameter