corrected completion for classes inside using list
fixed resolving for type refs