AUO-K190x: move var resolution-handling into check_var