bugfix in ide model