initVariablesApt(): fixed empty function body