fix consulting through var & little improvements in time