compilation fixed
reworked resolving - more quicker
corrected completion for refs with qualifier