fix for model init condition