code fixes - basisVariable