adding getosc support
fixing avs expression local variables